From: Florian Fainelli Date: Sat, 8 Nov 2008 18:03:09 +0000 (+0000) Subject: Fix small typo #4148 X-Git-Url: http://git.openwrt.org/%22http:/oss.oetiker.ch/rrdtool//%22/%22http:/oss.oetiker.ch/rrdtool/%22?a=commitdiff_plain;h=9480aa44576b2f67bda95fbd72d6485b9488cd3c;p=project%2Ffirmware-utils.git Fix small typo #4148 SVN-Revision: 13142 --- diff --git a/src/imagetag.c b/src/imagetag.c index 04b1f48..c925921 100644 --- a/src/imagetag.c +++ b/src/imagetag.c @@ -204,7 +204,7 @@ int tagfile(const char *kernel, const char *rootfs, const char *bin, /* Build the tag */ strcpy(tag.tagver, IMAGETAG_VER); strncpy(tag.sig1, IMAGETAG_MAGIC1, sizeof(tag.sig1) - 1); - strncpy(tag.sig2, IMAGETAG_MAGIC2, sizeof(tag.sig1) - 1); + strncpy(tag.sig2, IMAGETAG_MAGIC2, sizeof(tag.sig2) - 1); strcpy(tag.chipid, chipid); strcpy(tag.boardid, boardid); strcpy(tag.bigendian, "1");